.class Lcom/example/m6wmr/SendActivity$7;
.super Ljava/lang/Thread;
.source "SendActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/SendActivity;->Submit()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/SendActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/SendActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    .line 460
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 15

    .prologue
    const/4 v14, 0x2

    .line 462
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    .line 464
    new-instance v4, Landroid/os/Message;

    invoke-direct {v4}, Landroid/os/Message;-><init>()V

    .line 465
    .local v4, "msg":Landroid/os/Message;
    iget-object v11, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    const-string v12, "userInfo"

    const/4 v13, 0x0

    invoke-virtual {v11, v12, v13}, Lcom/example/m6wmr/SendActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v6

    .line 466
    .local v6, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v11, "uid"

    const-string v12, ""

    invoke-interface {v6, v11, v12}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    .line 467
    .local v9, "uid":Ljava/lang/String;
    const-string v11, "pass"

    const-string v12, ""

    invoke-interface {v6, v11, v12}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 469
    .local v5, "pwd":Ljava/lang/String;
    iget-object v11, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->content:Landroid/widget/EditText;
    invoke-static {v11}, Lcom/example/m6wmr/SendActivity;->access$34(Lcom/example/m6wmr/SendActivity;)Landroid/widget/EditText;

    move-result-object v11

    invoke-virtual {v11}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v11

    invoke-interface {v11}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    .line 470
    .local v0, "demandcontent":Ljava/lang/String;
    iget-object v11, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->shouphone1:Landroid/widget/EditText;
    invoke-static {v11}, Lcom/example/m6wmr/SendActivity;->access$35(Lcom/example/m6wmr/SendActivity;)Landroid/widget/EditText;

    move-result-object v11

    invoke-virtual {v11}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v11

    invoke-interface {v11}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v7

    .line 471
    .local v7, "shouphone":Ljava/lang/String;
    iget-object v11, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->jiphone:Landroid/widget/EditText;
    invoke-static {v11}, Lcom/example/m6wmr/SendActivity;->access$36(Lcom/example/m6wmr/SendActivity;)Landroid/widget/EditText;

    move-result-object v11

    invoke-virtual {v11}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v11

    invoke-interface {v11}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    .line 472
    .local v2, "getphone":Ljava/lang/String;
    new-instance v11, Ljava/lang/StringBuilder;

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    iget-object v12, v12, Lcom/example/m6wmr/SendActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v12}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v12

    invoke-static {v12}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v12

    invoke-direct {v11, v12}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 473
    const-string v12, "/index.php?ctrl=app&source=1&action=fabupaotui&datatype=json"

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&uid="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&pwd="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    .line 474
    const-string v12, "&getlat="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->qulat:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$26(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&getlng="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->qulng:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$27(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&shoulng="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->shoulng:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$28(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&shoulat="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->shoulat:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$29(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    .line 475
    const-string v12, "&ptkg="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->ptkg:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$30(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&farecost="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->farecost:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$37(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&demandcontent="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&getphone="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    .line 476
    invoke-virtual {v11, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&shouphone="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&getdetaddress="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->quname:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$15(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->quaddr:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$16(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&shouetaddress="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->shouname:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$22(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->shouaddr:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$23(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "&minit="

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    iget-object v12, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    # getter for: Lcom/example/m6wmr/SendActivity;->minit:Ljava/lang/String;
    invoke-static {v12}, Lcom/example/m6wmr/SendActivity;->access$38(Lcom/example/m6wmr/SendActivity;)Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    .line 477
    const-string v12, "&pttype=1"

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    .line 472
    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    .line 478
    .local v10, "url":Ljava/lang/String;
    const-string v11, "ShopshowACtivity"

    new-instance v12, Ljava/lang/StringBuilder;

    const-string v13, "getshopSource"

    invoke-direct {v12, v13}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v12, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v12

    invoke-static {v11, v12}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 480
    iget-object v11, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    iget-object v11, v11, Lcom/example/m6wmr/SendActivity;->m:Lmyapp/MyApp;

    invoke-static {v10, v11}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v8

    .line 481
    .local v8, "str":Ljava/lang/String;
    const-string v11, "getShopSource();---------------"

    invoke-static {v11, v8}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 483
    :try_start_0
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3, v8}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 485
    .local v3, "json":Lorg/json/JSONObject;
    const-string v11, "error"

    invoke-virtual {v3, v11}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    const-string v12, "true"

    invoke-virtual {v11, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v11

    if-eqz v11, :cond_0

    .line 487
    const-string v11, "msg"

    invoke-virtual {v3, v11}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    iput-object v11, v4, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 488
    const/4 v11, 0x1

    iput v11, v4, Landroid/os/Message;->arg1:I

    .line 489
    sget-object v11, Lcom/example/m6wmr/SendActivity;->h:Landroid/os/Handler;

    invoke-virtual {v11, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 513
    .end local v3    # "json":Lorg/json/JSONObject;
    :goto_0
    return-void

    .line 492
    .restart local v3    # "json":Lorg/json/JSONObject;
    :cond_0
    const-string v11, "msg"

    invoke-virtual {v3, v11}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v11

    if-eqz v11, :cond_1

    .line 494
    const/4 v11, 0x2

    iput v11, v4, Landroid/os/Message;->arg1:I

    .line 495
    sget-object v11, Lcom/example/m6wmr/SendActivity;->h:Landroid/os/Handler;

    invoke-virtual {v11, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 505
    .end local v3    # "json":Lorg/json/JSONObject;
    :catch_0
    move-exception v1

    .line 507
    .local v1, "e":Lorg/json/JSONException;
    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    .line 510
    iput v14, v4, Landroid/os/Message;->arg1:I

    .line 511
    sget-object v11, Lcom/example/m6wmr/SendActivity;->h:Landroid/os/Handler;

    invoke-virtual {v11, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    .line 500
    .end local v1    # "e":Lorg/json/JSONException;
    .restart local v3    # "json":Lorg/json/JSONObject;
    :cond_1
    :try_start_1
    const-string v11, "msg"

    invoke-virtual {v3, v11}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    iput-object v11, v4, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 501
    iget-object v11, p0, Lcom/example/m6wmr/SendActivity$7;->this$0:Lcom/example/m6wmr/SendActivity;

    iget-object v12, v4, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v12

    invoke-static {v11, v12}, Lcom/example/m6wmr/SendActivity;->access$39(Lcom/example/m6wmr/SendActivity;Ljava/lang/String;)V

    .line 503
    const/4 v11, 0x6

    iput v11, v4, Landroid/os/Message;->arg1:I

    .line 504
    sget-object v11, Lcom/example/m6wmr/SendActivity;->h:Landroid/os/Handler;

    invoke-virtual {v11, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0
.end method

.method public declared-synchronized start()V
    .locals 1

    .prologue
    .line 516
    monitor-enter p0

    :try_start_0
    invoke-super {p0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 517
    monitor-exit p0

    return-void

    .line 516
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
